package com.yc.dygang.dao;

import com.yc.common.util.DBHelper;

import java.util.List;
import java.util.Map;

public class SearchDao {
    public List<Map<String,Object>> querySearch(){
        String sql = "select * from dyg_search limit 0,11" ;
        List<Map<String, Object>> list = DBHelper.selectListMap(sql);
        return list;
    }
    public List<Map<String,Object>> querySearchs(){
        String sql = "select * from dyg_search limit 11,15" ;
        List<Map<String, Object>> list = DBHelper.selectListMap(sql);
        return list;
    }
}
